Skip to content

feat: add is_case_manager field in agent declaration#1594

Open
dianagrecu-uipath wants to merge 2 commits intomainfrom
feat/cm-agent
Open

feat: add is_case_manager field in agent declaration#1594
dianagrecu-uipath wants to merge 2 commits intomainfrom
feat/cm-agent

Conversation

@dianagrecu-uipath
Copy link
Copy Markdown
Contributor

Add is_case_manager field in agent declaration

@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository labels Apr 28, 2026
Comment on lines +1225 to +1226
if hasattr(metadata, "is_case_manager"):
return metadata.is_case_manager
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think this is redundant, if metadata is present then it should always have is_case_manager since it's not an optional field.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in frontend it is an optional field.


def test_is_case_manager_true_when_metadata_set(self):
"""Returns True when metadata.is_case_manager is True."""
json_data = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could extract a helper for this and reduce duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-llamaindex Triggers tests in the uipath-llamaindex-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants